<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
	<div class="container-fluid"> 
	<div class="navbar-header">
		<a class="navbar-brand" href="#" ng-click="add()">新增分类</a>
		<button type="button" class="navbar-toggle" data-toggle="collapse"
				data-target="#example-navbar-collapse">
			<span class="sr-only">折叠</span>
			<span class="icon-bar"></span>
			<span class="icon-bar"></span>
			<span class="icon-bar"></span>
		</button>
	</div>
	<div class="collapse navbar-collapse" id="example-navbar-collapse">
		<ul class="nav navbar-nav">
			<li ng-repeat="menu in directory" ng-class="{active:isActive(menu.path)}">
				<a href="#" ng-click="click(menu.path)" >{{menu.name}}</a>
			</li>
		</ul>
	</div>
	</div>
</nav>